home *** CD-ROM | disk | FTP | other *** search
- Path: cls.net!news
- From: Andre.Wiese@kiel.netsurf.de (Andre Wiese)
- Newsgroups: comp.lang.c
- Subject: Win95: TransmitCommChar-Problem
- Date: Tue, 26 Mar 1996 17:08:17 GMT
- Organization: Sirius Cybernetics
- Message-ID: <4j88ko$3d8@freeside.cls.de>
- NNTP-Posting-Host: p014.kiel.netsurf.de
- X-Newsreader: Forte Free Agent 1.0.82
-
- Hi!
-
- I've got a big problem with the Win95-API-Call 'TransmitCommChar':
- I'm using MSVC 4.0 and I want to send some bytes to my Comm-Device.
- I'm using a 16550 UART and a boudrate of 19200.
- If I step through my app using F10 in the dev.envir. everything is OK.
- BUT: If I compile it or run it using F5 only 2 characters are sent.
- TransmitCommChar returns FALSE after trying to send the third
- character. The third char doesn't get to the device.
-
- What can be my mistake? The same code worked compiled with
- 16-bit.
-
- Please help!
-
- Thanks in advance.
-
- Andre'
-
-
-
-
-
-